package tech.com.commoncore.others;

import android.os.Bundle;
import android.webkit.WebView;

import com.aries.ui.view.title.TitleBarView;

import tech.com.commoncore.R;
import tech.com.commoncore.base.BaseTitleActivity;

/**
 * Author:Cpb
 * Time  : 2019-07-19
 * Desc  : 隐私声明
 */
public class PrivateProtocolActivity extends BaseTitleActivity {

    private WebView mWebview;

    @Override
    public void setTitleBar(TitleBarView titleBar) {
        titleBar.setTitleMainText("隐私声明");
    }

    @Override
    public int getContentLayout() {
        return R.layout.login_activity_private_protocol;
    }

    @Override
    public void initView(Bundle savedInstanceState) {
        mWebview = findViewById(tech.com.commoncore.R.id.webview);
        mWebview.loadUrl("file:///android_asset/private_protocol.html");
    }
}
